package com.sky.service.impl;

import com.sky.service.ShopService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class ShopServiceImpl implements ShopService {
    @Value("${sky.shop.shopStatus}")
    private Integer shopStatus;


    /**
     * 获取状态
     * @return 状态值
     */
    @Override
    public Integer getStatus() {
        return shopStatus;
    }

    /**
     * 设置状态
     */
    @Override
    public void setStatus(Integer status) {
        shopStatus = status;
    }
}
